package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Material;
import com.ruoyi.system.domain.Project;
import com.ruoyi.system.domain.Purchase;
import com.ruoyi.system.domain.PurchaseRecord;

import java.util.HashMap;
import java.util.List;

public interface AnalysisMapper {

    //各个厂商价格对比
    List<PurchaseRecord> selectComparison(PurchaseRecord purchaseRecord);

    //查询无发票号
    List<Purchase> selectNoInvoiceList();

    //查询有发票号
    List<Purchase> selectInvoiceList();

    //查询时间内的材料
    List<PurchaseRecord> selectTimeList(HashMap<String, String> map);

    Double selectSum(HashMap<String, String> map);


    //返回一个项目所有材料
    List<PurchaseRecord> selectProject(Project project);


    //返回时间段供应商的付款信息
    List<PurchaseRecord> analysisMapper(PurchaseRecord purchaseRecord);

    List<Purchase> selectSumPur(PurchaseRecord purchaseRecord);

    Double selectBussneissSum(PurchaseRecord purchaseRecord);

}
